//
//  ViewController.m
//  委托模式
//
//  Created by clz on 2019/7/21.
//  Copyright © 2019年 clz. All rights reserved.
//

#import "ViewController.h"
#import "Persion.h"
#import "Clock.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    Persion *xiaoming = [[Persion alloc]init];
    
    Clock *clock = [[Clock alloc]init];
    xiaoming.delegate = clock;
    
    [xiaoming.delegate naoLing];
    
    
    
}


@end
